function checkIfWaiter(waiterType,contact) {
    log(contact);
    $.get("https://www.fastmock.site/mock/428fc58e170ef636dc145b067592c3c8/test/v1",function (data) {
        var message ="经验证，为假客服。";

        var ifWaiter= data.data.ifWaiter;
        if(ifWaiter){
            message ="经验证，为真客服，请放心交易";
        }
        layer.alert(message);
    })
}

function checkIfQQWaiter(qq) {
    checkIfWaiter(0,qq);
}

function checkIfWechatWaiter(wechat) {
    checkIfWaiter(1,wechat)
}

// $(".qq-yz").onclick(function () {
//     console.log("-");
//
//     console.log($(this));
//
// });
